﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using DotSpatial.Topology;

namespace NSCore
{

    /// <summary>
    /// 用于表示一个单一形式的点源
    /// </summary>
    public class MathPS
    {
        public MathPS(Coordinate c,double lw)
        {

            this._coord = c;

            this._lw = lw;


            
 
        }


        bool _isReference = false;

        public bool IsReference
        {
            get { return _isReference; }
            set { _isReference = value; }
        }


        double _noiseDistance = 1;

        /// <summary>
        /// 表示测声距离
        /// </summary>
        public double NoiseDistance
        {
            get { return _noiseDistance; }
            set { _noiseDistance = value; }
        }



        //仍需要加入单一频带的频率



        Coordinate _coord;

        public Coordinate Coord
        {
            get { return _coord; }
            set { _coord = value; }
        }



        double _lw;

        /// <summary>
        /// 声源的倍频带声功率级
        /// </summary>
        public double Lw
        {
            get { return _lw; }
            set { _lw = value; }
        }




    }
}
